package net.babypai.views;

import net.babypai.adapter.PicWallAdapter;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
import android.widget.GridView;


public class MyGridView extends GridView implements OnScrollListener {
	private static final String tag = "MyGridView";
	private PicWallAdapter listAdapter;

	public MyGridView(Context context) {
		super(context);

	}

	public MyGridView(Context context, AttributeSet attrs) {
		super(context, attrs);

	}

	public MyGridView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);

	}

	@Override
	public void setFadingEdgeLength(int length) {
		// TODO Auto-generated method stub
		super.setFadingEdgeLength(0);
	}
	@Override
	public void onScroll(AbsListView view, int firstVisiableItem,
			int visibleItemCount, int totalItemCount) {
	}

	public void setAdapter(PicWallAdapter adapter) {
		this.listAdapter = (PicWallAdapter) adapter;
		super.setAdapter(adapter);
	}

	@Override
	public void onScrollStateChanged(AbsListView view, int scrollState) {
		// TODO Auto-generated method stub
		
	}

}